package com.team.party.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.team.party.bean.Activity;
import com.team.party.bean.Ajst;
import com.team.party.bean.Sjst;
import com.team.party.bean.Society;
import com.team.party.bean.Student;

public interface StudentMapper {
	
	public Student serchStudent(Student student); 
	//通过
	public Boolean saveStudent(Student student) throws Exception;
	//通过
	public Student serchMessage(Student student) throws Exception;
	//通过
	public Boolean changeMessage(Student student) throws Exception;
	//通过
	public Boolean changePassword(Student student) throws Exception;
	//通过，暂无用
	///public void deleteStudentByNo(String stu_no) throws Exception;
	//通过
	public List<Society> serchSociety() throws Exception;
	//通过
	public Boolean joinSociety(Sjst sjst) throws Exception;
	//通过
	public List<Society> serchJoinedSociety(Student student) throws Exception;
	//通过
	public Boolean exitSociety(Sjst sjst) throws Exception;
	//通过
	public List<Activity> serchActivity() throws Exception;
	//通过
	public Boolean joinActivity(Ajst ajst) throws Exception;
	//通过
	public List<Activity> serchJoinedActivity(Student student) throws Exception;
	//通过
	public Boolean exitActivity(Ajst ajst) throws Exception;
	
	
	
	public List<Society> serchSocietyByFuzzy(@Param("soc_no") String soc_no, @Param("soc_name") String soc_name) throws Exception;
	
	public List<Activity> serchActivityByFuzzy(@Param("act_no") String act_no, @Param("act_name") String act_name) throws Exception;
}
